package vip.xiaonuo.biz.modular.watchtask.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 盯防任务日志表(TaskLog)表实体类
 *
 * @author h
 * @since 2025-11-20 17:00:40
 */
@Data
@TableName("tb_task_log")
@ApiModel(value = "盯防任务日志表", description = "盯防任务日志表")
public class TaskLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String taskLogId;

    @ApiModelProperty(value = "上报人小程序id")
    private String appletUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "上报日期")
    private Date reportDate;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "任务ID（审批通过转换为任务）")
    private String taskId;

    @ApiModelProperty(value = "附件 照片或文件 多个 ；隔开")
    private String fliePath;

    @ApiModelProperty(value = "视频文件多个；隔开")
    private String videoPath;

    @ApiModelProperty(value = "声音文件多个；隔开")
    private String soundPath;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "用户平台id")
    private String platformUserId;

}
